import { request } from '@/utils/request';
// import type { BaseResponse } from '@/utils/request';
import Api from '@/core/permission/modules/sup/archive-query';

/**
 * @description 获取案件档案列表
 * @param {API.GetCaseArchivesRequest} data
 * @returns
 */
export function getCaseArchivesList(data: API.GetCaseArchivesRequest) {
  return request({
    url: Api.list,
    method: 'post',
    data,
  });
}
